pkgname=autoconf-archive
pkgver=2017.03.21
pkgrel=1
pkgdesc="A collection of freely re-usable Autoconf macros"
arch="all"
url="http://www.gnu.org/software/autoconf-archive/"
license="GPL"
depends="autoconf"
source="http://ftpmirror.gnu.org/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

check() {
	cd "$srcdir/$pkgname-$pkgver"
	make check
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}
sha512sums="826233fcdd0cb5a1fe18bd52477e3a8afcaf8719ea376b3be0864df6b481f0fef8fd8083485b1565a14c13ad64dbc0ae93149a62e16da9a4d24db8063120cc3a  autoconf-archive-2017.03.21.tar.xz"
